/**
 * Created by linxiaofen on 2017/6/2.
 */
'use strict';
app.factory('httpService',function($resource){
    return{
        getResume:$resource('./data/resume.json',{},{query: {method: 'GET', isArray: false}}),
        getProfile:$resource('./data/profile.json',{},{query: {method: 'GET', isArray: false}}),
        getBlog:$resource('./data/blog.json',{},{query:{method:'GET' ,isArray: true}}),
        getArticleOne:$resource('./data/articleOne.json',{},{query: {method: 'GET', isArray: false}}),
        getArticleTwo:$resource('./data/articleTwo.json',{},{query: {method: 'GET', isArray: false}}),
        getArticleThree:$resource('./data/articleThree.json',{},{query: {method: 'GET', isArray: false}}),
        getContactInfo:$resource('./data/contactInfo.json',{},{query: {method: 'GET', isArray: false}})
        }
});